<?php

// Autres (parametre, preference etc ...)
define('TEMPLATE', 'template1'); // multi template support, on définit le template utilisé
define('ADMIN_LOGIN', 'root');
define('ADMIN_PASSWORD', 'root');



// Les chemins de base
define('PATH_ROOT', __DIR__ . DIRECTORY_SEPARATOR);
define('PATH_LIBS', PATH_ROOT . 'libs' . DIRECTORY_SEPARATOR);
define('PATH_MODELS', PATH_ROOT . 'models' . DIRECTORY_SEPARATOR);
define('PATH_VIEWS', PATH_ROOT . 'views' . DIRECTORY_SEPARATOR);
define('PATH_CONTROLLERS', PATH_ROOT . 'controllers' . DIRECTORY_SEPARATOR);
define('PATH_TEMPLATE', PATH_VIEWS . TEMPLATE . DIRECTORY_SEPARATOR);


// Les liens
define('SITE_URL', 'http://localhost:8080/inafp/trunk/');
define('TEMPLATE_RESSOURCES_URL', SITE_URL . str_replace('\\', '/', str_replace(PATH_ROOT, '', PATH_TEMPLATE)) . 'ressources/');
define('TEMPLATE_RESSOURCES_IMAGES_URL', TEMPLATE_RESSOURCES_URL . 'images/');
define('TEMPLATE_RESSOURCES_JS_URL', TEMPLATE_RESSOURCES_URL . 'javascript/');
define('TEMPLATE_RESSOURCES_CSS_URL', TEMPLATE_RESSOURCES_URL . 'css/');
?>